fixed a lot of stupid bugs with the switch case
Merge branch 'master' of github.com:kryel/vdbm
Merge branch 'master' of github.com:kryel/vdbm