Avoid warning about undefined dtor for UniquePtr<Resource>
Add UI to fix issue 433 (we cannot drop frames at the end or layers at the bottom)

The logic is not ready.