Layout fix and trigger startup and delete events