Fixed bug in skipSpace (didn't check for null-byte).