Fix find file on startup
Use hook macro
Add toggle debug key