Altered 'TreeModel' parameters to type 'ITreeModel' for compatibility with GTK3
Fixed Cairo rendering method.