Fixed typo
Quit  if the camera count is wrong.
Added helper functions for adding entities
Bad error message