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
Merge remote-tracking branch 'origin' into feature/73