Styling added. Some minor bugfixes to prevent errors rendering onto the page.