Plugin AP List: Fix some minor bugs and add comments