Fixed GUI stuff, updated documentation