res:dock:: fix dock get dbus failed
res:dock:: fix crashes when closing the last preview window.

when closing the last preview window, the preview is not closed, the preview
will be painted to null.
app:dock:: remove some useless code.
res:dock:: remove useless font and change close button