misc fixes and new plugin for print