Wat!
Handling edge collision is started. AH-108
Added handling when collision with edge. AH-108

Still some minor bugs.