state machine mostly functioning console save/load functions resize broke