Welcome to the wonderful world of expert witness testimony.
Well done Jim and I am glad that their "techniques" did not get to you and make you lose it. They want to show you in as bad a possible light. Don't ever lose it. Always remember they have a job to do - which is to discredit you to the Court and you have a job to do which is not falling for it.
Never take it personal and you will be fine.
hawk