514: better loop, better ui