a buuunch of stuff I forgot to commit + better console
A basic form of panel is now working