Update AppMain

A couple variable changes... Also fixed the unexplained gaps we were having when new sets of platforms were spawned