Updated kvm.sh to support renamed KRuntime mono45-x86 -> Mono

Fixed returning of error codes from inner functions