Added live preview feature
Fixed **Context Menu** bug for issue #20
Fixed *Setting* bug for issue #20
Added live_preview_cap for large files
Fixed problem with live_change_made as class variable
code refactor to improve logic readability
replace HIST and MODE by class variables