renamed supervisor to main_loop
fixed conditional locks
some fixes
fixed deadlock
fixed missing pthread_mutex_unlock
removed interceptors
removing interceptors
fixed interceptor
some code clean up
fixed interceptors in ags_devout.c