changes to next/last windows and added more status stuff