Added support for various output levels. Added some fun functional bits as well.