Add new options showtt, showjson and export pan

This fixes issues #53 and #51