Use number_format_i18n instead
Move saving log function into the class
Add timer, implement WP_Error
TODO
Implement retry on fail process