a few small changes

Added a settings page
added a 9-patch background to messages
fixed sqlite crash on quotes