Frontend design

Improved the design a bit and threw in a bunch of new functionality including smarter hiding and paging.