Clean up embedlite preferences
Merge pull request #46 from rojkov/refactoring

Clean up embedlite preferences