Fixing issue #6 Problem with writing message to screen if null passed as
component