Rewrote skillmanager, lotsa fixes