Big commit.

Add funtcion-drawer class.
Add buttons on settings dialog.