added option to show/hide editor grid lines; refactored preferences; refactored code; added tutorials for Qt5 and Editor