Advanced Signal Processing Solutions for Brain-Computer Interfaces: From Theory to Practice