adding locks to further threadsafe the server
finish adding locks, rewrite ReadInt32 for small increase in performance
(mostly im just bored)