added proper exception handling -- now you don't just see the pika error that swallows up the real ones

fixed initializer to not start pika callbacks before all variables are initialized