removed timer.h from threads.c; fixed list_remove issue