Commit #4

-Fix Country detection
-Fix memory leak in GUI engine