Refactored state system. Engine.States & Object.States are depreciated. See state.engine and state.object for replacements.