cleanup gui code
correct prototypes
correct prototypes in dependent code in aui and wv projects