Merge pull request #2104 from Guite/1.4

execute enhanced CLI mode only if system is installed (to avoid problems...
properly display exception in Application
added warning if zlib extension is not enabled