Inspired by mark2222's SubframeIDE
Lua version of mark2222's SubframeIDE. Or at least my recreation of it