- Replace invalid // comment in window/init.lua with Lua -- comment
- Make check_for_closed_prompt a local function (was leaking global)
- Require get_config for close_tag pattern instead of undefined config
- Wire auto_process through preferences.is_auto_process_enabled()
- Add local extract_functions/classes/imports helpers to auto_index_file
- Remove unused comment_block_start/comment_block_end variables