Added contrast-adjustment functions to lamp