Fixed bugs in VariablePrinter and some other command-related things. Updated comm to handle the special case of a single integer as a rank.
Added error checking for empty filter specification.