You'll figure it out soon enough...
Everything was me. But play Ross42867's version for a real working version (with a stylish thumbnail!) Link in the comments.