Dialog 0j/01: current room not set the same as previous?

This was indeed a bug in the standard library. The visibility variables have to be computed later, after setting the current room variable, and also after moving any floating objects (which may provide light) into the current room.

This is now fixed in library version 0.36 (Dialog release announcements).