Image duration work, pause events, whitespace fixes