prepend all static variables with 's_' for readability

align static/global/defines initializations
fix --latest option