Added very basic GUI generation.