WIP Import of Overlay Code

Just a commit for remote sync purposes. WIP trying to by-hand import
relevant snippets. Currently works but is rendered under everything else
so it's effectively useless at the moment.