Added clear cache button and checks for errors in localStorage
Reworked config to allow for customization
Added clear cache button and checks for localStorage/url corruption.
Merge origin/master