added display disposal check in UI time updater

also rewritten runnable to lambda