Change SpotPage_getspot to use an array for parameter passing
Several smaller fixes for issues introduced during refactoring