Fixed some more warnings
Fixed text_mode()/textout() deprecated issues
Fixed deprecated issues with file_select()