Tweaked fill algorithm, added FPS counter