fix build
remove leveling system from code, and reimplement it as a default set of scripts.

Fixed player initialisation, and add optional dumping of bad references.