Laid groundwork for level transitions, made laser damage tick based on time elapsed, fixed gcc warnings