Tweaked a lot of things to make it nicer. Added functionality for buttons which don't currently work