fixed some app bugs
updated global max year variables