Removed unused surface and add level counter variable.