Renamed Main procedure
Removed Ada.Text_IO references
Fixed usage of wrong global variable
Merge branch 'hotfix/sf2-fix' into temp/merge
Removed Ada.Text_IO reference