Removed console.log
Don't assume small data frames.

Resolves #4.
Resolves #5.
Removed trailing whitespace.