add bitmap storage path setting feature
merge code from master