Changed StockRowManger singleton to Main.inst.sm