guidebox: code cleanup and changed button