Improved rendering performance by moving gradient out of canvas; Added fps counter