Small bug fix, reworked some method documentation.
added UI save/restore state stubs