quick fix of env and scoping issues

there were some issues concerning env handling:
- evalBlock discarded env produced by evaluating block content, so updates of all variables inherited from outer scope had no effect
- variable updates resulted in copying of entire env