Added basic stat window and state changes