many small fixes
preference screen fix