Documentation patch and gui mode