fix not to use monitor in default for local development
fix to do close() missed
fix require path for local development with new engine mechanism