refactor suggestion
・thread locking with lock statement
・simplify conditions
・code prettify
Merge branch 'suggest-refactor'

Conflicts:
	AkaneMail/AkaneMail/MainForm.cs
	AkaneMail/AkaneMail/MainForm.resx