Ported some stuff over to the new Slick2D library.