src/{ui,components}.js: Keep intro video from running off edge of window.
src/{ui,game,constants}.js: Validate user-supplied parameters.