fixed entry point creator bug: Generated main() methods now contain a "return" statement