Single instance enforcement in RenderNodeMain

Also fixed an error in the sorting of DateTime objects in
QTableWidgetItem_dt