at long last, we have worked out the freezing problems. sadly, what did the trick was probably rebooting the host machine, however we will never know.
Added a guide on how to subclass the SiteCommandHandler to add your own commands.
Run it and please get back to me with feedback.
I appreciate it.