Added user settings and made it possible to lay out the layers flat rather than stacked