You should have had the shop apply red threadlocker to the power valve screws while the lower intake manifold was off the vehicle. Shame they missed the PCV valve too since it's a real pain to access.
What was causing the leak? One of the manifold gaskets?
P1145 is the driver's side camshaft position sensor. Swap it with the passenger side to see if the code changes to P1140; if it does, replace the sensor.
This guide has information about the sensors' locations.
P1491 is likely unrelated; the code is "VACUUM CUT VALVE BYPASS VALVE". See
EC-583 for a diagnostic procedure.
P0325 is probably a cause of one of the other codes and should go away once the codes are resolved and performance improves.