New stubs: det_depends.c/.h, expanded filesys.h + lexer.h to accomodate

Also some minor edits to comments/thought