added callable C functions for lua find_channel_window and add_line_mdi. Added lua user_called_event function called with /lua xyz. changed parameters to correct type for find_channel_window