GUI: added GUI loader and documented functions