add comments to private methods
fix bug with snap in piano roll