init needles after main.pm

cleanup handler is installed by main.pm so needles must be initialized
afterwards.