bugfixes and entity gui