Free more errors
Avoid using deprecated g_io_channel_close() since it is deprecated
Updated the copyright line