add preference to enable/disable line numbers

add preference to enable/disable line numbers and make font change work