Removed some error messages and a few silly lines.