Redesigned Event / State System

Completely overhauled the Event and state system. State is now visable
globally