Pet levels work now

Also fixed issues with some character files causing the editor to crash.