Make top window as an active window
Fix include file
Simplify .init_array section reference
Remove "extern C" duplication
Rename file to fd
Use `fd_close` when application ends
Handle control key
Add `const` modifier
Handle standard input/output/error files
Tweak using register to reduce push/pop