Some new functions and minimal EWMH compliance added