s/self/static/
added less support for import-once

fixes #425
fixed array to string warning
Merge branch '1.1.x'