Bugfixes

A longstanding typo where one kilobyte should have been 1024 bytes, not 1025.

And changes to the tutorial.