improve function extraction handling of selected region
improve function refactoring
Initial implementation of let inlining