Added information window and fixed a few bugs