The simulator will sigfault at 1.5gb memory when compiled for 32bit windows. Minor fixes also