Added support for raising and lowering layers.
Added layer duplication.
Added layer removal.