prettied up button styles and organized some code

Overhauled most buttons and re-organized code in the libraryViewModel
(preparing for modularization). Also made the idleTime more
configurable.