Fix saves files sometimes getting to 'unsavedfiles'. Fixes #36
Make 'esc' close userinput if it's open