Changed: is_object -> is_applet_object
Typos.
Fixed: various typos and missing conditions.