Refactoring toolbar and adding menu
Fixed preferences bug
Fixed tabulation size bug