simplify markAtoms when passing an array

[#47255751]
add randomFloat to general scripting API
diffusion Interactive work-around for Safari bug

[#47255751]

Needs more testing.