bug fixes
Merge branch 'master' of github.com:bgirard/ToJAM2013
Minor bug fixes