Dalvikvm fixes