Fixed some bugs, added some colors and theme stuff, added error handling