Converted GUI manager to take const elements.