Fixed event code
Allow avatars to be seen in character sheets again
Various small bugfixes