Fixed a missing deletion of arrays in main function. Removed some stray debug print-outs on initialization of TemplightAction.