First stab at collision detection. Still sucks.