Time based logging and better exception handling.