Added working __save_history method
Added test program to open saved history