impoved sidebar, clear button doesnt clear objects

clear button just stops to draw them, but they still are there, just
invisible