Core fixes and external video playback support