added single player settings, fixed some bugs