cleanup GL code. add background effect