merged ui and sliceEditor into one plugin