DisplayMessage: we can use String now

also improved error handling and a leak fix