Changed error messages to use stderr. Fixed typo in missing entry-point error message.