Fixes to saved/unsaved label. Clean up input events.