Added PHP verification and fixed full screen mode