Fixed SIGUSR2 behavior. Added constructor and destructor ordering.