Moved getImage(), which is GUI code, out of BenchObject