Analyze the snowtree codebase to identify P0 (critical) improvement areas. Focus on: performance bottlenecks, correctness issues, stability problems, security concerns, and any areas that could cause data loss or system failures. Provide a prioritized list of P0 improvements with specific recommendations and implementation suggestions.