slight improvements to rudimentary xmind script