Fixed infinite recursion problem when syntax error before block
Removed redundant var
Added simple version of zoom