Uncommented idock.cl
Fixed bugs and passed compilation
Added callback events