If no explicit module set in a file, make it "Main"
More tweaking for release