Rewrited a lot of code, rearrange a lot of layout issues, recent suggestions in place, attached the preference change, minor bugs