Fixes to size calculation (Ruby 1.9.3 related?)
Workaround for some weird old code (how did this ever work?)
A copy of the current, crude Logopolis script as an example