Console: extended the collecting of multiple commands also to the GREMLIN command (was only for JS)