fixed defaults, and segfault on exit due to timers