added settings page, added keepscreen on and sort settings, switched dictionaries to words not hashes, improved search speed and cleaned up code a bit