Fixed error messages. Also now accounts for any bad stuff sent over