Improved documentation in midi.py; Added global_vars.py; Added improper read device exception in midi.py to handle improper device input.