This is odd.
I started a blank project and used the code from post 4.
It worked.
I then copied the icon I was using in my main app to this new project and it still worked.
I then thought there must be something in my main app that was causing it to fail.
I then started copying module by module to the new app and it still worked. I ended up copying every module (kept the same names for everything) and it still worked.
My main app is failing, but the new project is working even knowing it contains the same files & code.
Not a major thing since I have now copied everything over, but not sure what is caused this to happen and hopefully this doesn't happen again later on.