PROPERLY fixed invalid read valgrind issue
Merge branch 'ends-issue' of http://github.com/claytronics/oldbb into ends-issue