Don't load the program as a mod and fix memory and permgen generating
when not needed