Edit interface glow function, add exception handling, add new test for glow