Fixed build with Gtk+ 3
Updated the copyright line
Keep track of the current operator
Avoid a potential format string issue