add panic for SIGINT
add panic on ctrl-c for convenient stacktracing. removed some globals