Fix issue: #6, #7, support customization for titlebar and bottombar