added preview picture method
added adding/deleting of switches
added switch and bool for affecting blocks