- Implement fetchLastLines API to load initial log entries
- Add addInitialLogs function to useSSE hook for prepending logs
- Improve tab handling with better closable behavior and state management
- Add backend support for fetching last N lines from log files