Added Directional Blocking, NPC Avoid and fixes

- Added directional blocking support to the editor.
- Added NPC Avoid support to the editor.
- Various fixes related to offsets and selection issues.
- Made sure that the server sends over important data regarding the
sizes of arrays to the editor on login.
- Added a fancy-ish icon.