more fix for the map file loading
Updated syntax and fixed minor bug

Small bug in exitCondition function of path finding. Exit condition was
calling "bo.box" when it should have been calling "bo.children"
Removed unnecessary code
now the exporting is more parameterizable on the client side
Add severity to plugin messages.