endianess fixes, calibration code, ADF detection, correct lamp warmup, gamma table for new ASICs, some workarounds for ASIC variations and the convertion to use OPT_SOURCE instead of seperate OPT_ADF and OPT_TRANS.