Organize UI code, change exit method to a touch screen button, add . and .. to file selection, and fix accidentally broken idle patching code.