publish stderr events
add some environment variables for configuration
pass medulla prefix through to frontend
contrast