Just added some comments.
Fixed several UI glitches.