Fixes some bugs that appear with bbsim
Merge branch 'stableVM' of https://github.com/claytronics/meld into stableVM
Fixes some bugs that appear with bbsim