Remove useless code
Add window transparency settings