Performance tuning for Firefox and debounce NPC moving. fixed #11
Signed-off-by: Rack Lin <racklin@gmail.com>