Many new instruction and flag fixes