Fixed mutex issue, generally working.  Need to work out kinks.