Added lock functions
Touched up vector visualization code
Merge branch 'master' of https://github.com/jsharf/AIviate