a bit better clear handling

really need to get the rendering stuff working, but this will help for
now