Cleans up temporary data, that was used during initialization stage, and sets static_data_is_initialized to true