Removed some debugging code
Bugfixed, style changed to be more readable, new global module and global mpv config