Modifications for full screen mode. Fixed error messages.