get rid of division.
workaround ConfigParser/glib key file incompatibility.

comments ';' and '#'.
optimize power EH, most of the calculation shall be done once.