This is a pretty complicated question since there's a lot of ways to address it, but the problem is compounded by the fact that it's not the Sprint ROM. You really need to be asking this on the NueROM threads for the best answers.
You could just go to Start > Settings > System > Task Manager and change how the X button behaves as a starting point.