I don't really get why you used PuzzleScript+ if you didn't used his new features, like runtime_metadata_twiddling.
mostly for the level select! and also because the “plus” in the name makes me feel stronger!
i also spent two hours playing with the solver making level 04 :D
Didn't noticed the level select lol