Big commit. Transparency mode working.