colorbox integration & fixed code warnings.