Add mark page code refactoring. Moved a bunch of functions around and tied them to page naviation listeners.
Also improved page refreshing. Dropdowns now auto-default to index 0 of whatever's there upon page entry.