Tidied up comments and line spacing.
Added extra buttons to control panel.