added some colour stuff, selection of items in dialog boxes, a couple more callbacks. also some plaintext protocol specification for later multiplayer design.