Enemies now have a detection radius!

When not in that radius they wander around purely at random.
Also, restored obstacle avoiding functionality.