added a Settings menu prototype. Also refactored some of the code
regarding bluetooth.