Fixed some bugs in TM code. Added new debug symbols define in cmakelists (convenience)
Merge branch '0.4.1' of github.com:vovoid/vsxu into 0.4.1