Cleanup gtksheet and add features to var-sheet.[ch]