Further fixes and optimizes to RTMP and generic output.
Added debug level options.
LSP - configure debugging level
Fixes.
Finalized error propagation and debug level setting code.
Tweaks to various debug messages.
Tweaked debug messages of controller when changing debug level.