If you have no livestock or corals I'd turn you lights off while it's cycling. Diatoms will go away on it's own. The hair algae is a bigger pain. You gotta starve it out. You could also add Phosban, which will eliminate the phosphates feeding the hair algae.