Ported the console lib. Yaaaay, we finally have write[f][ln]!