Fix SetWindowContents encoding and use it when whole inventory contents are set.
Added CloseWindow, OpenWindow, Transaction, WindowClick, WindowProperty packets.
Started on better inventory system using InventoryView and monitoring.
Fixed incorrect slot conversions in creative mode and exclusion of last 4 hotbar slots.
More inventory work:
- Corrected armor slot order.
- Read and save armor and ender chest.
- Fixed item slot 0 not being read.
- Toned down logging.