fixed: UnopenedNamespacesResolver inserts open statement in a wrong place

...in a script that has no other open statements, but has # directives

fixed: UnopenedNamespacesResolver does not show the smart tag on module top level do expressions