* Added error messge output to several g_warnings
* Converted usleep to g_usleep
* Possibly fixed up a few memory leaks