added preferences manager, game now saves and loads preferences accross
sessions