add settings window

settings window and much better bluetooth connection