tweaked simple logging
variable groups now make copy and don't store the original