added bulk message get method and locking in PacketChannel
Added MAGIC_INT to MessageManager
Adds basic process and fixed shutdown when window is closed