Modified gui to follow requirements for REFL.