Fixed thread locking with commandButcher

Cleaned up CommandNear