fix some little problems, waiting to test bulk indexing in another branch.
First release with bulk indexing.
some little bug-fixes in gtf-code