updated layer events
updated layer and frame events
make deleting layers possible
perist layer to sequence works
added continue layer to next frame()