fixed rendering small glitches. Added naive picking.