session: permanance using shelve; tests
poilog, bipoilog: added random sampling; tests
visuals: improved input casting