Added basic graphics/texture support.
Collisions refactor.
Fixed a bug where collision pairs were not generated properly.
Removed some debugging code.