Added html5 localStorage for the state
Added more functionality to the controls bar