Fix issue with fully qualified symbols, improve allocation code, improve partial symbol completion