Biggest update yet.

Added settings page, full theme support, back button handling, fixed all
crashes known, and removed some obsolete code.