Fix some build issues (use wxWidgets debug libs on Mac and Linux). Fix a bug in wxWidgets related to getting data from wxTextDataObject. Fix a bug in Entity dnd on Linux.