Code portability, MSIE 8 message, fix editing student problems

Hi Martin,

Would you like to merge the fixes and enhancements below when you have a mo. bro please?

Best wishes,

Nick