added media dir attribute to config, __init__ on slides now also take global config, attempt at making slides load faster by removing .convert()