Fixed default values and changed get method to ConfigParser.getboolean() for modealt and secure (also added them to sample.cfg).
Small fixes for python2.4 support.