Added "debug" option for Controller and fixed a bug in HOME.