Cleanup, fixes, exception logging, the likes;
Also added Sprite and Text classes.
Added test/demo project.