Only include sqlite in dev and test; better layout for mobile (re-order elements)