fix bugs

fix array managed sizedpointer size bug
fix pefile parse bug
add grid layout support