added end night functionality

fixed listeners
fixed any randoms throwing null pointers