Hover script menu, bug fixes

Made the list of scripts appear on hover in order to give the code more
horizontal space.
Fixed bugs with z-index problems, and the codemirror editor not drawing
properly when changing scripts.