crash fixes
Merge branch 'master' of https://github.com/ataalik/BeaverTD