added rudimentary frame rate control
add logging