fixed odd quitting behaviour, child fork now initiates program quit.