You need LMO before you can apply for a WP. If you're applying for a work permit, it has to be done at a consulate or visa office outside Canada or apply at the border closest to you if you are from a country that does not need a visa to enter Canada, once you received your LMO. Having the WP gives you status to stay in Canada with out fear of being "kicked out"

(you have implied status now, though, with your application for extension being in process) Then let your spouse sponsor you while you're in Canada.
I am married to a Canadian citizen and have recently (June) extended my visitor visa (which btw is still in process). However. I have just been offered a job. So. Do I now apply for a temporary work permit and then when that comes through send in my PR application or do I do both now? It's a genuine offer of employment but I need advice on which path to pursue as I don't want to get kicked out!
thank you.