Styling fixes
actualPage -> currentPage
Loop style
style consistency
Merge pull request #1 from fstephany/master

Style fixes