Added minlevel, maxlevel and tweaked character