Added StateManager ( LNK errors ... )