cleaning up
updated configure
SIGUSR1 decrements timeout
moved osd setup to main