Bugfixes to Mediafile and server features