Edited State Manager

Added a feature to prevent StateManager to be destroyed when loading
other scenes, or overwritten/duplicated when calling initial scene a
second time