fixed priority adding and media file editing bugs in the netcode