frame count value added and event stack

frame count value added to engine so objects can tell how long the
engine has been running. event stack made now lets objects in the engine
send messages to each other.