Fixed some PHP notices and one HTML error.