I still havnt managed to get wpa working but wep works fine.
The display problem is now solved and i now have compiz running.
for those of you trying to get compiz working on a 64bit system this might be usefull as i found it dificult to obtain the necessary packages from the compiz repositories.