added task centering, fixed reloading