When I on server created file, then second file, ex.: screen:draw(name-of-first-file), then left the game and joined server, started my program, Craft OS said: "attempt to index ? (a nil value).
But without this, your program is nice and really helpfull... it wants only something for click event settings (when i toggle click on for object, then open settings what it will do when I will click the object).