Fixes:
- Can no longer set waypoints of ground unit producers to unreachable terrain points
- Waypoints are now reset if a building is placed on top of it
- Air producer waypoints can now be set anywhere
- Fixed memory leak
- Fix units getting stuck when close to unreachable targets
- Fix various crashes
