Clean up code. Fix bug with button coloration on session start. Fix bug restarting sessions that have been ended.