added sheet management to sampleline and scoreline, half fixed history sheet buffer record, added bindings to custom env