Ready for graph to im
Added test for graph to img
small stuff, ready for mergin
No warnings, buggy graph to im