plug-ins, pdb: Add missing break statements to switch
app: Don't do integer division before saving to gdouble, remove stray ;
gfig: Don't do integer division
app: initialize variable
plug-ins: fix typo in error path