Adding dock detection back to demo. Also display the current zoom for debugging.