Updated library. Gui improvements.