Window transparency rendering problem

I want to make a transparent window with opaque objects inside and this is as far as I got. Problem is that is not fully transparent and there is a problem with lighting. There is a cube with a light source in front. On the right, I set the background color alpha to 0. When I move around it acts like drawing with a white brush.
Any help, please ?