kimpanel: try to workaround some qt/glib issue and fix memory leak

Authored by xuetianweng on Apr 5 2017, 9:36 PM.