Add compile flag for executable extensions thereby fixing build system. Might also be some crash fixes in here, I just realized I haven't committed these changes.
Various fixes.
Upstream code for localizing filetype labels!