Updated to newmain to mitigate NetBeans code parse bug.