moved charimage to ui and updated tests incl enhancing the shadow bitmap