Added more spike code. Worked out a few kinks with modal window