Updated and refactored HostVisualizer so it can paint any picture to the
screen