Fixed error in state machine not allowing for creation of new charcters. Plus some minor details