Instead of being offended when somebody corrects you (you should be glad), how about reading the entire thread more carefully?
I'm not offended at all, I never said I was.
The problem that I stated I couldn't identify or the already correct on rawmode?
Sorry, I couldn't tell that's what you meant because I couldn't understand your first post. "I didn't quite get your problem" to me means "I don't understand you," not "there is nothing wrong with the script you pasted," but maybe that's just me...