added check for overlapping fold markers to address issue #64
fixed bug in preference loading