Changed code to use HTML5 localStorage to store all options, fixed graphical bugs