Documented reload(), cleaned up some ugly code