Added settings page, basic popup window, and basic alarm functionality.