Fixed a memory issue, added a debug key (F1), changed some entity stuff