New state manager (initial) integration

+ Dialogue system minor bug fix