fixed some issues with displaying exceptions, added logging for uncaught handler action exceptions, and some code formatting clean up
added exception example to the footer