Added some autoswitch.
Bugg fix with models outside map.

Signed-off-by: Rikard Johansson <rillee.johansson@gmail.com>
Merge branch 'master' of https://github.com/Malow/NDYEditor