Some minor corrections in formula engine; methods for data transfer LS <-> Java