Output memory error before asserting.  Added 2 function to WX panel and fixed a mouse bug.