Major refactoring of JS and CSS. Lots of new functionality. Need to rebuild sheets next, and fix issues with not being able to display:none elements that are not needed