removed unused method GetImageBytes
no more global lock, all locks in main.go, user methods visibility changed