DLNA server function and some bug fixes.