replase adportable::debug with MessageBox