Today I got the x, y and z axes working, and everything is set up nicely.
Then the laser started acting up, it was always on regardless of what I did.
So I tested everything and it was all working nicely. So at the end of the day I finally gave up and decided that the laser just isn't reacting to the PWM input and it is a laser problem.
So now I get to figure out if a motor driver is good enough to power my laser.