corrected static/const/thread safety errors and warnings spotted by the bot analyzer, removed a Shifting object class non-used anymore