Additional error logging. Something goes wrong here occasionally...
Fixed a bug with floating numbers.