Actually figured out the problem. I was loading tons of images in the background while the main app was running. I commented this sub/function out and everything works fine. It was actually old code that I really wasn't using so everything works fine. I still find it odd that it was working just fine in debug mode. I guess debug mode works faster than release mode at least for what my program was doing.
I guess mods/admin can lock this thread or mark it as solved or whatever.