Fixed more UI stuff. Added in index. Will improve UI more today, specifically the modal dialogs which don't look that great at present.

Need to get tests running