Alright, so the problem's solved. Apparently, the fact that all template declarations needed to be in the header file was the only problem. I didn't REBUILD the code, I only BUILT it, and that's why my changes had no effect at first. I rebuilt the code, and it worked. Now the other problem...