Revert "Use floats in lua, not doubles"

This reverts commit 63f98a8c93cab10868195842a135ceaa4525cdeb.

i.e. I am putting it back to normal again, to try a different
workaround.
Revert "Re-enable some block active/inactive logging, and add some more"

This reverts commit c26d505da58376a6de811573f637f42365ecac36. Not needed
any more, the bug is definitely fixed.