cgreterm => moving init and term hook methods to handle_dpt_open()/close()