Galerkin analysis of electrothermal instabilities in plane liquid layers