Fix NOPs and that optional semicolons at the end of file.