MenuScript: use buffers instead of hacky tokenstrings, that greatly increases all limits on script size, works faster and makes less memory usage (-2 mb on current configuration of 100 scripts). This also provides opportunity to add simple if/else conditions in future.