Release 10

Contains code for manual refresh.
Cleaned up the code a bit.