Why dont you try loading the stock rom back on. You can find it in the sticky section in the touch pro upgrade section. You dont have to re-lock your phone yet, just flash the stock back on first. See if that clears up anything. Just to be safe, take out your memory card before you flash the rom, just in case its causing some kind of wierd issue.
Give it a shot, if that doesnt work it could be a hardware issue. maybe your keyboard open sensor is busted.
Let me know how it works out.