Pull request #46: CAS-14407
Merge in CASA/casaviewer from CAS-14407 to master
* commit '29e9de69113526479eeff6ca12a44f01ee2365b5':
null characters in label are displayed as a box: center the label padded by spaces before and after [CAS-14407]
avoid buffer overflow [CAS-14407]