I think I need to redo a lot of the codec code. It really give all kinda of strange problems.
thanks for the troubleshooting help, and good luck with fixing that.