New Debug System: Added api.debug with 4 logging levels (minimal, typical, detailed, all). Logs point to the caller's line number.
New Helpers: Added reloadToCurrentProgress() and exposed gmCapabilities.
Internal Improvements: Library now uses the new debug system for cleaner console output and better error handling.