Modified crtc class, small other changes

made sure that crtc class now relies on the new check_offset functions.
Small changes made to hipat_control, crtc_valid runs until valid. Small
changes made to check_offset.