Improvements

#define inlines are safer.
Added constant globals renaming and folding.
Made number rewriting better.
Added dead-function removal.