Agent version 2.16.2

Added Safety checks to resource center rendering to prevent errors

Added Origin checking for messages passed to the agent