Cleanup

This fixes build and also corrects some behavior related to replaced mx_bin_ calls in MexSlideShow and the main shell.