fixed crach, but added unused nonworkign code
Merge branch 'master' of https://github.com/Kuxe/oopprojekt