qualify all symbols, fixes #86

this duplicates code. more refactoring is needed.