Improves startframe and adds beamer-aware sout.