Did some bugfixes and added experience and level handling.