Warnings galore!

Compiles just fine, most of the pathfinding is in, unable to test at
this exact moment.