redirect stderrr
better display hook
remove more cruft