cleaned up variable names and fixed auto-refresh on form submit problem