General changes.

Changed all tabs by 4 spaces. All popup windows removed, they are now shown in the main window of the emulator (this way the emulator can be closed even when there are infinite popups).