Fixed the "linking" feature when adding/removing/reordering frames
Fixed empty frame list in generated HTML
Get candidate reference element in current layer
Default link value is false. Force link=true in new frames