Deploy improvements

Mostly formatting, optional logging events from beanstalk for further deployment checks.