Updated version of the main.py

Added better comments in the code. Fixed some stuff in the getinfo()
function. Also some minor GUI changes.