delay execution of render loop, rm U animate function, some refactoring along concerns