Refactor error list source management
Automatically update error list when switching buffers