fixed typos
added structural comments and TODOs
minor refactor: easier to read file menu creation