fixed issue 259

Hi Franz

I guess this fixes issue 259. 

Please note that I had to force a redraw in the RenderTab::clear() method. This was because, on clearing, the render widget needed some input in the render area to clear it even though it was cleared before.