and can you prevent from closing mirc? tested to "lock" mirc, maybe a DLL or something that can prevent this from happen?