Added ability to have intermediate keyframes.
Added layout mode.