Changed the deployment target for osx.
Commented out the TempState in the LuaMain.