Made the relationship between bricks and canvas more flexible and added an fps counter.