Mainly little bug fixes and modview project conversion

Fixes for #55 and converting ModView's project to vs2012 (I'm waiting for cmake though...)