repaired bugs, limited the jvm to 256M