I needed the laugh, thank you.
TO summarize I want to know two things now:
1- A question I have is that in debug mode, Lazarus uses exception handling that leads to the message box. Where was it set?
2- Is it safe swapping exception handling functions in the the previous code I posted, using try finally?