added debugmode, cleaned up and fixed some logic
added debugmode, cleaned up and fixed some logic

rossriley/bolt,richardhinkamp/bolt,HonzaMikula/masivnipostele,Calinou/bolt,kendoctor/bolt,xeddmc/bolt,kendoctor/bolt,bywatersolutions/reports-site,Intendit/bolt,richardhinkamp/bolt,skript-cc/bolt,Raistlfiren/bolt,nantunes/bolt,xeddmc/bolt,romulo1984/bolt,one988/cm,HonzaMikula/masivnipostele,nikgo/bolt,HonzaMikula/masivnipostele,joshuan/bolt,rarila/bolt,rarila/bolt,kendoctor/bolt,GawainLynch/bolt,hugin2005/bolt,electrolinux/bolt,codesman/bolt,tekjava/bolt,Intendit/bolt,bolt/bolt,electrolinux/bolt,bolt/bolt,HonzaMikula/bolt,CarsonF/bolt,cdowdy/bolt,CarsonF/bolt,cdowdy/bolt,bolt/bolt,GDmac/bolt,pygillier/bolt,GawainLynch/bolt,marcin-piela/bolt,rarila/bolt,Raistlfiren/bolt,codesman/bolt,rossriley/bolt,Intendit/bolt,skript-cc/bolt,rarila/bolt,GDmac/bolt,CarsonF/bolt,xeddmc/bolt,marcin-piela/bolt,hannesl/bolt,kendoctor/bolt,Calinou/bolt,CarsonF/bolt,GDmac/bolt,rossriley/bolt,marcin-piela/bolt,Eiskis/bolt-base,one988/cm,electrolinux/bolt,electrolinux/bolt,joshuan/bolt,codesman/bolt,HonzaMikula/masivnipostele,bywatersolutions/reports-site,nikgo/bolt,pygillier/bolt,lenvanessen/bolt,hugin2005/bolt,hugin2005/bolt,nantunes/bolt,codesman/bolt,hannesl/bolt,skript-cc/bolt,rossriley/bolt,winiceo/bolt,richardhinkamp/bolt,romulo1984/bolt,winiceo/bolt,nikgo/bolt,Raistlfiren/bolt,nikgo/bolt,one988/cm,nantunes/bolt,HonzaMikula/bolt,Eiskis/bolt-base,Raistlfiren/bolt,cdowdy/bolt,nantunes/bolt,cdowdy/bolt,joshuan/bolt,GDmac/bolt,Eiskis/bolt-base,Eiskis/bolt-base,one988/cm,Calinou/bolt,pygillier/bolt,Calinou/bolt,pygillier/bolt,bolt/bolt,bywatersolutions/reports-site,joshuan/bolt,marcin-piela/bolt,xeddmc/bolt,Intendit/bolt,romulo1984/bolt,HonzaMikula/bolt,GawainLynch/bolt,hannesl/bolt,skript-cc/bolt,lenvanessen/bolt,lenvanessen/bolt,romulo1984/bolt,tekjava/bolt,GawainLynch/bolt,bywatersolutions/reports-site,tekjava/bolt,winiceo/bolt,lenvanessen/bolt,hugin2005/bolt,hannesl/bolt,winiceo/bolt,HonzaMikula/bolt,richardhinkamp/bolt,tekjava/bolt