Added settings functionality and quit button.