Further fixed collisions, added HUD

Solved the collision problem of stopping at corner of platform by adding
a velocity check.