create bat for windows start
fix exiting calls
honour terminate=allowed