Changed bug with persistence. Now generates cool images :)
Recent changes, threads still not working
work-1
Added expansion control in GUI
Cleaning GUI code