added some getters and removed copy statements that result in NPEs
Creating new instances should largely be avoidable anyways.
Merge pull request #666 from dries007/master

added some getters