Fix some compile errors
Finish fixing monitor
Use hex for size of array in recv