Warning: These changes break compatibility with previous v2.1.
Without this dummy implementation of std::__throw_bad_alloc() the linker was throwing errors.
Indentations of class definitions and preprocessor statements were not uniform throughout the code. This commit cleans up indentations as well as the order of include statements. Style conventions see: https://github.com/LibreSolar/coding-style