More window staff peep functions

Added events arrays for the other two tabs, and implemented a bunch of the functions.