added writeUnsignedShort to Buffer
added PalaceDrawRecord
fixed Vectors to [] instead of {}