Added some function buttons.
Block edging with denoise algo added, bugs fixed.