Avoid opening the same file twice
Added debugging information
Load API information and pages while idle
Gather manual pages of the same category
Modified a comment