Using states and events in cosmos-game example.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>
Adding Xxf86vm library into linked library list.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>
Rollig back the minor modification of CRoot.


Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>
Removing some trashy trace & debug output.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>