Finished init and deinit routines, compiles. Also tweaked CLIM control within the CN1,2,3 enable/disable functions.