Fix multiple bugs, include level change and xp gain