Cleaned up gauge widget creation.