a lot of changes in code's style
use *with* statement
replace tabs with spaces
replace lists with tuples if it's possible
add -OOBtt options
edit messages